c# cast to type dynamically

134

c# cast to type dynamically -

public static dynamic Convert(dynamic source, Type dest) {
  return Convert.ChangeType(source, dest);
}

Comments

Submit
0 Comments